﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mysoft.MyCM.Scm
{
	public partial class TaskHistory
	{
		public TaskHistory()
		{
			TaskHistory1 = new HashSet<TaskHistory>();
		}

		public Guid TaskGUID { get; set; }

		public string TaskName { get; set; }

		public Guid JobGUID { get; set; }

		public Guid TaskTemplateGUID { get; set; }

		public Guid ServerGUID { get; set; }

		public Guid ProjectGUID { get; set; }

		public string XAMLDefine { get; set; }

		public string InputJson { get; set; }

		public DateTime CreateTime { get; set; }

		public int State { get; set; }

		public DateTime? StartTime { get; set; }

		public DateTime? FinishTime { get; set; }

		public Guid? ParentTaskGUID { get; set; }

		public virtual JobHistory JobHistory { get; set; }

		public virtual Project Project { get; set; }

		public virtual Server Server { get; set; }

		public virtual ICollection<TaskHistory> TaskHistory1 { get; set; }

		public virtual TaskHistory TaskHistory2 { get; set; }

		public virtual TaskTemplate TaskTemplate { get; set; }
	}
}
